const path = require('path');

exports.index = function(req, res) {
  res.render('test', {
    title: '我的世界',
    hotels: {
      arout: 12,
      cc: 321
    }
  })
};

exports.about = function(req, res) {
  res.sendFile(path.resolve(__dirname, '../views/about.html'))
}
